package com.xuecheng.managecmsclient.dao;

import com.xuecheng.framework.domain.cms.CmsPage;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author jl
 * @description
 * @date 2019-08-06 16:52
 */
public interface CmsPageRepository extends MongoRepository<CmsPage,String> {

    /**
     * @param pageName
     * @param siteId
     * @param pageWebPath
     * @return
     */
    CmsPage findByPageNameAndSiteIdAndPageWebPath(String pageName, String siteId, String pageWebPath);
}
